﻿<Window x:Class="SsTool.Core.Windows.ThemeWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Window1" SizeToContent="Height" Width="400" WindowStartupLocation="CenterScreen">
    <Grid>
        <StackPanel>
            <Label Content="描述:"/>
            <TextBox Name="_ctlEditCaption" Text="{Binding Path=Caption,Mode=TwoWay}"/>
            <Label Content="名称:"/>
            <TextBox Name="_ctlEditName" Text="{Binding Path=Name,Mode=TwoWay}"/>
            <Label Content="Package:"/>
            <TextBox Name="_ctlEditPackage" Text="{Binding Path=Package,Mode=TwoWay}"/>
            <Label Content="预览地址:"/>
            <TextBox Name="_ctlEditUrl" Text="{Binding Path=PreviewImageUrl,Mode=TwoWay}"/>
            <Label Content="排序号:"/>
            <TextBox Name="_ctlEditOrderIndex" Text="{Binding Path=OrderIndex,Mode=TwoWay}"/>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                <Button Name="_ctlBtnSubmit" Click="_ctlBtnSubmit_Click" Margin="5,5,0,5">
                    <StackPanel Orientation="Horizontal">
                        <Image Source="../../Resources/Accept.png" Margin="0,0,5,0"/>
                        <TextBlock Text="保存" VerticalAlignment="Center"/>
                    </StackPanel>
                </Button>
                <Button Name="_ctlBtnCancel" Click="_ctlBtnCancel_Click" Margin="5,5,0,5">
                    <StackPanel Orientation="Horizontal">
                        <Image Source="../../Resources/Cancel.png" Margin="0,0,5,0"/>
                        <TextBlock Text="关闭" VerticalAlignment="Center"/>
                    </StackPanel>
                </Button>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
